#ifndef ITRANSHANDLER_H
#define ITRANSHANDLER_H

#include "ClientContext.h"

class ITransHandler abstract
{
public:
	typedef int ExecuteResultCode;

	const static ExecuteResultCode ExecuteFatalError=0;

	const static ExecuteResultCode ExecuteOK=1;

	const static ExecuteResultCode ExecuteFinished=2;

	ITransHandler(){}

	virtual ~ITransHandler(){}

	virtual ExecuteResultCode Execute(ClientContext&,OVERLAPPED*) abstract;
};

#endif